<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>PHP MQTT | 协议解析和协程客户端</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="由 Simps 提供的适用于 PHP 的 MQTT 协议解析和协程客户端">
  <meta name="keywords" content="mqtt,websocket,phpmqtt,mqtt3.1,mqtt5.0,mqtt客户端,mqtt协程客户端,mqtt协议,mqtt协议解析">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/gh/sy-records/docsify-nightly@develop/dist/themes/core.min.css">
  <link rel="stylesheet" href="//cdn.jsdelivr.net/gh/sy-records/docsify-nightly@develop/dist/themes/addons/core-dark.min.css" media="(prefers-color-scheme: dark)" />
  <style>
    :root {
      --theme-color: #5C9DFF;
    }
  </style>
</head>
<body>
  <div id="app"></div>
  <script>
    window.$docsify = {
      name: 'PHP MQTT',
      repo: 'simps/mqtt',
      homepage: 'zh-cn/README.md',
      loadSidebar: true,
      subMaxLevel: 3,
      loadNavbar: true,
      auto2top: true,
      coverpage: true,
      alias: {
        '/.*/_navbar.md': '/_navbar.md',
        '/_sidebar.md': '/zh-cn/_sidebar.md',
        '/zh-cn/.*/_sidebar.md': '/zh-cn/_sidebar.md',
        '/en/.*/_sidebar.md': '/en/_sidebar.md',
      },
      nameLink: {
        '/zh-cn/': '#/zh-cn/',
        '/en/': '#/en/',
        '/': '#/',
      },
      search: {
        depth: 6,
        noData: {
          '/en/': 'No results!',
          '/zh-cn/': '没有找到结果!',
          '/': '没有找到结果!'
        },
        paths: 'auto',
        placeholder: {
          '/en/': 'Type to Search',
          '/zh-cn/': '输入关键词搜索',
          '/': '输入关键词搜索'
        },
        pathNamespaces: ['/zh-cn', '/en']
      },
      plugins: [
        function (hook) {
          hook.beforeEach(function(html) {
            return (
                    html +
                    '\n\n----\n\n' +
                    'Copyright © 2019-' + new Date().getFullYear() + ' <a href="https://github.com/sy-records" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Lu Fei</a>'
            );
          }),
          hook.doneEach(function () {
            pangu.spacingElementByClassName('content')
          })
        }
      ],
    }
  </script>
  <script src="//cdn.jsdelivr.net/gh/sy-records/docsify-nightly@develop/dist/docsify.min.js"></script>
  <script src="//cdn.jsdelivr.net/gh/sy-records/docsify-nightly@develop/dist/plugins/search.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-php.min.js"></script>
  <script src="//unpkg.com/pangu@4.0.7/dist/browser/pangu.min.js"></script>
  <script src="//unpkg.com/docsify-copy-code@2/dist/docsify-copy-code.min.js"></script>
  <script>
    var _hmt = _hmt || [];
    _hmt.push(['_requirePlugin', 'UrlChangeTracker', {
      shouldTrackUrlChange: function (newPath, oldPath) {
        return newPath && oldPath;
      }}
    ]);
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?e451f878e32de0e912cbbd4887bf43aa";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();
  </script>
</body>
</html>
